<?php
/**
 * 节点图验证 - 管理后台
 *
 * @author birdy <freebirdy@foxmail.com>
 * @link http://www.aiyuangong.com
 * @copyright 2016 birdy all rights reserved.
 * @license http://www.apache.org/licenses/LICENSE-2.0
 */

namespace app\admin\validate;

use think\Validate;
use think\Db;

class GoodsClass extends Validate
{
    protected $rule = [
        "name|分类名称"      => "require|max:100|unique:goods_class",
        "keywords|缩写"      => "require|max:100|unique:goods_class",
        "commis_rate|分佣比例"      => "integer|max:100",
    ];
}
